package com.ns.school.mapper.edu;

import com.ns.school.po.edu.NewsinfoDB;

import java.util.List;

public interface NewsMapper {
    List<NewsinfoDB> findAllNews(NewsinfoDB newsinfoDB);

    int deleteNews(Integer nId);

    int addNews(NewsinfoDB newsinfoDB);

    int editNews(NewsinfoDB newsinfoDB);
}
